The Effect of Test-Driven Development on Program Code
نویسنده
چکیده
Usage of test-driven development (TDD) is said to lead to better testable programs. However, no study answers either the question how this better testability can be measured nor whether the feature of better testability exists. To answer both questions we present the concept of the controllability of assignments. We studied this metric on various TDD and conventional projects. Assignment controllability seems to support the rules of thumb for testable code, e.g. small classes with low coupling are better testable than large classes with high coupling. And as opposed to the Chidamber and Kemerer metric suite for objectoriented design, controllability of assignments seems to be an indicator whether a project was developed with TDD or not.
منابع مشابه
Does Test-Driven Development Improve the Program Code? Alarming Results from a Comparative Case Study
It is suggested that test-driven development (TDD) is one of the most fundamental practices in agile software development, which produces loosely coupled and highly cohesive code. However, how the TDD impacts on the structure of the program code have not been widely studied. This paper presents the results from a comparative case study of five small scale software development projects where the...
متن کاملAutomatic Generation of a Multi Agent System for Crisis Management by a Model Driven Approach
Considering the increasing occurrences of unexpected events and the need for pre-crisis planning in order to reduce risks and losses, modeling instant response environments is needed more than ever. Modeling may lead to more careful planning for crisis-response operations, such as team formation, task assignment, and doing the task by teams. A common challenge in this way is that the model shou...
متن کاملThe Effect of Property Rights on Entrepreneurship:Evidence from Some Factor-driven, Efficiency-driven, and Innovation-driven Countries
Entrepreneurship is influenced by many factors and environments such as institutions. Institutions have an important role to play in the individual's tendency toward necessity and opportunity entrepreneurship. The purpose of this paper was to examine the impact of institutional quality (property rights) on opportunity and necessity entrepreneurship. The results, based on unbalanced panel data f...
متن کاملEffects of Test-Driven Development: A Comparative Analysis of Empirical Studies
Test-driven development is a software development practice where small sections of test code are used to direct the development of program units. Writing test code prior to the production code promises several positive effects on the development process itself and on associated products and processes as well. However, there are few comparative studies on the effects of test-driven development. ...
متن کاملEffect of Developmental Stimulation Program on the Developmental Measures of Toddlers
Background: The variability in the developmental skills is reduced after the first three years of life; therefore, it is necessary to identify and manage early developmental delays. Aim: The aim of this study was to investigate the effect of developmental stimulation program on the developmental measures of the toddlers. Method: The present randomized controlled clinical trial was conducted on ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006